< previous page page_55 next page >

Page 55
Let's build a quick project to demonstrate the use of Bookmarks. Use the information in Table 3.1 to create a small form with a data control, two bound input controls, two label controls, and a single command button.
Table 3.1. Controls for BOOKMARKS.FRM.
ControlPropertySetting
VB.FormNameFrmBookMarks
Caption"Bookmark Demonstration"
ClientHeight1320
ClientLeft60
ClientTop345
ClientWidth4605
StartUpPosition2 'CenterScreen
VB.CommandButtonNameCmdSaveBookmark
Caption"&Save Bookmark"
Height300
Left2760
Top180
Width1695
VB.DataNameDtaBookMarks
Align2 'Align Bottom
Caption"Data1"
Connect"Access"
DatabaseNameC:\TYSDBVB5\SOURCE\DATA\BOOKS5.MDB
RecordsetType1 'Dynaset
RecordSource"Authors"
VB.TextBoxNameTxtName
DataField"Name"
DataSource"dtaBookMarks"
Height300
Left1440
Top600
Width3015

continues

 
< previous page page_55 next page >

If you like this book, buy it!